From 2706d455b26ba00f23fdda68e628a60cb500824d Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 4 Jul 2005 17:47:31 +0000 Subject: [PATCH] Fix typos in waypt_dupe that would have resulted in the duplicated waypt not having description. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1275 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/waypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/waypt.c b/gpsbabel/waypt.c index a8a179b8b..d51a73ee5 100644 --- a/gpsbabel/waypt.c +++ b/gpsbabel/waypt.c @@ -57,11 +57,11 @@ waypt_dupe(const waypoint *wpt) tmp->icon_descr = xstrdup(wpt->icon_descr); if (wpt->gc_data.desc_short.utfstring) { tmp->gc_data.desc_short.utfstring = - xstrdup(tmp->gc_data.desc_short.utfstring); + xstrdup(wpt->gc_data.desc_short.utfstring); } if (wpt->gc_data.desc_long.utfstring) { tmp->gc_data.desc_long.utfstring = - xstrdup(tmp->gc_data.desc_long.utfstring); + xstrdup(wpt->gc_data.desc_long.utfstring); } if (wpt->gc_data.placer) { tmp->gc_data.placer = xstrdup(wpt->gc_data.placer); -- 2.30.2